MoveAilment

@Serializable
data class MoveAilment(val id: Int, val name: String, val moves: List<Handle.Named<Move>>, val names: List<Name>) : NamedModel(source)

Status conditions that can be inflicted on a Pokémon by using certain moves. See: https://pokeapi.co/docs/v2#move-ailments

Parameters

id

The identifier for this resource.

name

The name for this resource.

moves

A list of moves that cause this ailment.

names

The name of this resource listed in different languages.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, moves: List<Handle.Named<Move>>, names: List<Name>)

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard